﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BusinessManage.OrderFormCable
{
    public class TaskCarRelation
    {
        /// <summary>
        /// 汽车Id编码【id1,id2,id3,id4】
        /// </summary>
        public IList<CarIds> CarIds { get; set; }
        /// <summary>
        /// 订单编码【id1,id2,id3,id4】
        /// </summary>
        public string OrderIds { get; set; }
        /// <summary>
        /// 分厅编码
        /// </summary>
        public string HallIds { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public string Sorts { get; set; }
        /// <summary>
        /// 数量【品种】
        /// </summary>
        public string BuyClickCount { get; set; }
        /// <summary>
        /// 用户编码
        /// </summary>
        public int CurUserId { get; set; }
        /// <summary>
        /// 列表编码
        /// </summary>
        public string GridCode { get; set; }

        public string CurUserIden { get; set; }
        /// <summary>
        /// 任务编码，用于更新
        /// </summary>
        public string TaskID { get; set; }
    }

    public class UpdateTaskCarRelation {
        /// <summary>
        /// 汽车Id编码【id1,id2,id3,id4】
        /// </summary>
        public IList<CarIds> CarIds { get; set; }
        /// <summary>
        /// 用户编码
        /// </summary>
        public int CurUserId { get; set; }
        /// <summary>
        /// 列表编码
        /// </summary>
        public string GridCode { get; set; }

        public string CurUserIden { get; set; }
        /// <summary>
        /// 任务编码，用于更新
        /// </summary>
        public string TaskID { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public string Sorts { get; set; }


    }

    public class CarIds {
        public int DataPK { get; set; }
        public int MainDriverID { get; set; }
        public int AssistantDriverId { get; set; }
        public int BuyClickCount { get; set; }
        public int HallLossCount { get; set; }
    }

    public class Items {
        public string FieldEnumDataIns { get; set; }
        public string FieldEnumDataSource { get; set; }
        public string GridCode { get; set; }
        public int CurUserId { get; set; }
        public string CurUserIden { get; set; }
    }


    public class TaskInfo {
        public string taskid { get; set; }
        public string GridCode { get; set; }
        public int CurUserId { get; set; }
        public string CurUserIden { get; set; }

    }

    public class OrderCarRelation {
        /// <summary>
        /// 订单表中主键
        /// </summary>
        public string Order_Id { get; set; }

        /// <summary>
        /// 分厅编码
        /// </summary>
       // public string HallIds { get; set; }

        /// <summary>
        /// 用户编码
        /// </summary>
        public int CurUserId { get; set; }
        /// <summary>
        /// 列表编码
        /// </summary>
        public string GridCode { get; set; }

        public string CurUserIden { get; set; }
        /// <summary>
        /// 任务编码，用于更新
        /// </summary>
        public string TaskID { get; set; }
    }

    public class OrderRelation
    {
        /// <summary>
        /// 订单表主键【22,222,121】
        /// </summary>
        public string OrderIds { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public string Sorts { get; set; }
        /// <summary>
        /// 用户编码
        /// </summary>
        public int CurUserId { get; set; }
        /// <summary>
        /// 列表编码
        /// </summary>
        public string GridCode { get; set; }

        public string CurUserIden { get; set; }
        /// <summary>
        /// 任务编码，用于更新
        /// </summary>
        public string TaskID { get; set; }
    }


    public class OrderChange
    {
        public string CurUserId { get; set; }
        public string CurUserIden { get; set; }
        public string GridCode { get; set; }
        public string oldTaskId { get; set; }//待调整任务编码
        public string newOrderIds { get; set; }//新订单编码
    }

    public class UpdateObj {
        public int CurUserId { get; set; }
        public string CurUserIden { get; set; }
        public string GridCode { get; set; }
        public string taskid { get; set; }
        public int DeliveryTaskStatus { get; set; }
        public string carNumber { get; set; }
        public int CarDeliveryTaskStatus { get; set; }
    }
}


